package com.wistech.search.solr.bench.expression;

public class BaseBenchmark {
	final int[] THREADS = { 10 };

	public static void printResult(int threads, int repeats, int countMax,
			long duration) {
		long av = duration / (threads * repeats * countMax);
		System.out.println("threads=" + threads + ",repeats=" + repeats
				+ ",countMax=" + countMax + ",总耗时 " + duration + "纳秒"
				+ ",平均每次耗时 " + av + "纳秒");
	}
}
